<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: include/hardware/clocks.h File Reference</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.1.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('rp2__common_2hardware__clocks_2include_2hardware_2clocks_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">clocks.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="pico_8h_source.html">pico.h</a>&quot;</code><br />
<code>#include &quot;hardware/structs/clocks.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for clocks.h:</div>
<div class="dyncontent">
<div class="center"><img src="rp2__common_2hardware__clocks_2include_2hardware_2clocks_8h__incl.png" border="0" usemap="#ainclude_2hardware_2clocks_8h" alt=""/></div>
<map name="ainclude_2hardware_2clocks_8h" id="ainclude_2hardware_2clocks_8h">
<area shape="rect" title=" " alt="" coords="421,5,612,32"/>
<area shape="rect" href="pico_8h.html" title=" " alt="" coords="411,80,473,107"/>
<area shape="rect" title=" " alt="" coords="497,80,685,107"/>
<area shape="rect" href="common_2pico__base__headers_2include_2pico_2types_8h_source.html" title=" " alt="" coords="158,304,259,331"/>
<area shape="rect" title=" " alt="" coords="252,155,365,181"/>
<area shape="rect" href="common_2pico__base__headers_2include_2pico_2config_8h_source.html" title=" " alt="" coords="390,155,494,181"/>
<area shape="rect" href="platform_8h.html" title=" " alt="" coords="596,155,717,181"/>
<area shape="rect" href="error_8h_source.html" title=" " alt="" coords="741,155,836,181"/>
<area shape="rect" href="assert_8h_source.html" title=" " alt="" coords="5,379,111,405"/>
<area shape="rect" title=" " alt="" coords="74,453,157,480"/>
<area shape="rect" title=" " alt="" coords="211,379,281,405"/>
<area shape="rect" title=" " alt="" coords="306,379,381,405"/>
<area shape="rect" title=" " alt="" coords="173,229,337,256"/>
<area shape="rect" href="compiler_8h_source.html" title=" " alt="" coords="362,229,543,256"/>
<area shape="rect" href="sections_8h_source.html" title=" " alt="" coords="567,229,746,256"/>
<area shape="rect" href="panic_8h_source.html" title=" " alt="" coords="770,229,930,256"/>
<area shape="rect" title=" " alt="" coords="954,229,1165,256"/>
<area shape="rect" title=" " alt="" coords="1189,229,1340,256"/>
<area shape="rect" title=" " alt="" coords="357,304,548,331"/>
</map>
</div>
</div>
<p><a href="rp2__common_2hardware__clocks_2include_2hardware_2clocks_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ae1bd66fc9846c52601de355a20901b0e"><td class="memItemLeft" align="right" valign="top"><a id="ae1bd66fc9846c52601de355a20901b0e" name="ae1bd66fc9846c52601de355a20901b0e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>KHZ</b>&#160;&#160;&#160;1000</td></tr>
<tr class="separator:ae1bd66fc9846c52601de355a20901b0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91dd8b26b5bbdd9ca65de2ebb0119743"><td class="memItemLeft" align="right" valign="top"><a id="a91dd8b26b5bbdd9ca65de2ebb0119743" name="a91dd8b26b5bbdd9ca65de2ebb0119743"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MHZ</b>&#160;&#160;&#160;1000000</td></tr>
<tr class="separator:a91dd8b26b5bbdd9ca65de2ebb0119743"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a324481435427a2d41c0511545f32777a"><td class="memItemLeft" align="right" valign="top"><a id="a324481435427a2d41c0511545f32777a" name="a324481435427a2d41c0511545f32777a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PLL_COMMON_REFDIV</b>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a324481435427a2d41c0511545f32777a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2409e64150e78d43e35f646c80f81bff"><td class="memItemLeft" align="right" valign="top"><a id="a2409e64150e78d43e35f646c80f81bff" name="a2409e64150e78d43e35f646c80f81bff"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PLL_SYS_REFDIV</b>&#160;&#160;&#160;PLL_COMMON_REFDIV</td></tr>
<tr class="separator:a2409e64150e78d43e35f646c80f81bff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a662bd2ddce5c4a00819f6a041076720b"><td class="memItemLeft" align="right" valign="top"><a id="a662bd2ddce5c4a00819f6a041076720b" name="a662bd2ddce5c4a00819f6a041076720b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PLL_USB_REFDIV</b>&#160;&#160;&#160;PLL_COMMON_REFDIV</td></tr>
<tr class="separator:a662bd2ddce5c4a00819f6a041076720b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b9621319e9be832d808545a2f0d313b"><td class="memItemLeft" align="right" valign="top"><a id="a7b9621319e9be832d808545a2f0d313b" name="a7b9621319e9be832d808545a2f0d313b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PARAM_ASSERTIONS_ENABLED_HARDWARE_CLOCKS</b>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a7b9621319e9be832d808545a2f0d313b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aee955229d7a9ab2f71e8cdfac8c9c4"><td class="memItemLeft" align="right" valign="top"><a id="a4aee955229d7a9ab2f71e8cdfac8c9c4" name="a4aee955229d7a9ab2f71e8cdfac8c9c4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PICO_CLOCK_GPIO_CLKDIV_ROUND_NEAREST</b>&#160;&#160;&#160;PICO_CLKDIV_ROUND_NEAREST</td></tr>
<tr class="separator:a4aee955229d7a9ab2f71e8cdfac8c9c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aee6055b5fa72e4f9fcbf00b2364f5c41"><td class="memItemLeft" align="right" valign="top"><a id="aee6055b5fa72e4f9fcbf00b2364f5c41" name="aee6055b5fa72e4f9fcbf00b2364f5c41"></a>
typedef <a class="el" href="group__hardware__clocks.html#gae5b3d4a25ed3bb4916782746a6279507">clock_num_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>clock_handle_t</b></td></tr>
<tr class="separator:aee6055b5fa72e4f9fcbf00b2364f5c41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60fddc9bfe13c979c8e3a777d0d89037"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga60fddc9bfe13c979c8e3a777d0d89037">resus_callback_t</a>) (void)</td></tr>
<tr class="memdesc:ga60fddc9bfe13c979c8e3a777d0d89037"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resus callback function type.  <a href="group__hardware__clocks.html#ga60fddc9bfe13c979c8e3a777d0d89037">More...</a><br /></td></tr>
<tr class="separator:ga60fddc9bfe13c979c8e3a777d0d89037"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga4da87f338212a24bbebce4dd570b81bb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga4da87f338212a24bbebce4dd570b81bb">clock_configure</a> (clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_freq, uint32_t freq)</td></tr>
<tr class="memdesc:ga4da87f338212a24bbebce4dd570b81bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the specified clock.  <a href="group__hardware__clocks.html#ga4da87f338212a24bbebce4dd570b81bb">More...</a><br /></td></tr>
<tr class="separator:ga4da87f338212a24bbebce4dd570b81bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b3cc59b3628108d77b2b1b548ec8053"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga6b3cc59b3628108d77b2b1b548ec8053">clock_configure_undivided</a> (clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_freq)</td></tr>
<tr class="memdesc:ga6b3cc59b3628108d77b2b1b548ec8053"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the specified clock to use the undividded input source.  <a href="group__hardware__clocks.html#ga6b3cc59b3628108d77b2b1b548ec8053">More...</a><br /></td></tr>
<tr class="separator:ga6b3cc59b3628108d77b2b1b548ec8053"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga097a126a24cec137d4cc6c01a388f8a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga097a126a24cec137d4cc6c01a388f8a5">clock_configure_int_divider</a> (clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_freq, uint32_t int_divider)</td></tr>
<tr class="memdesc:ga097a126a24cec137d4cc6c01a388f8a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the specified clock to use the undividded input source.  <a href="group__hardware__clocks.html#ga097a126a24cec137d4cc6c01a388f8a5">More...</a><br /></td></tr>
<tr class="separator:ga097a126a24cec137d4cc6c01a388f8a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33862124558abcae451a0607df8d19bc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga33862124558abcae451a0607df8d19bc">clock_stop</a> (clock_handle_t clock)</td></tr>
<tr class="memdesc:ga33862124558abcae451a0607df8d19bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop the specified clock.  <a href="group__hardware__clocks.html#ga33862124558abcae451a0607df8d19bc">More...</a><br /></td></tr>
<tr class="separator:ga33862124558abcae451a0607df8d19bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2e43d722ca3375f53cb65513275a625"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gaa2e43d722ca3375f53cb65513275a625">clock_get_hz</a> (clock_handle_t clock)</td></tr>
<tr class="memdesc:gaa2e43d722ca3375f53cb65513275a625"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current frequency of the specified clock.  <a href="group__hardware__clocks.html#gaa2e43d722ca3375f53cb65513275a625">More...</a><br /></td></tr>
<tr class="separator:gaa2e43d722ca3375f53cb65513275a625"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb4a4f07e66523304837a6498276dd53"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">frequency_count_khz</a> (uint src)</td></tr>
<tr class="memdesc:gaeb4a4f07e66523304837a6498276dd53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Measure a clocks frequency using the Frequency counter.  <a href="group__hardware__clocks.html#gaeb4a4f07e66523304837a6498276dd53">More...</a><br /></td></tr>
<tr class="separator:gaeb4a4f07e66523304837a6498276dd53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a8d16dd4e2afa2dbb6fc3d884c2269c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga9a8d16dd4e2afa2dbb6fc3d884c2269c">clock_set_reported_hz</a> (clock_handle_t clock, uint hz)</td></tr>
<tr class="memdesc:ga9a8d16dd4e2afa2dbb6fc3d884c2269c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the "current frequency" of the clock as reported by clock_get_hz without actually changing the clock.  <a href="group__hardware__clocks.html#ga9a8d16dd4e2afa2dbb6fc3d884c2269c">More...</a><br /></td></tr>
<tr class="separator:ga9a8d16dd4e2afa2dbb6fc3d884c2269c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c358b3ea86aa09a8734a7a7a6842179"><td class="memItemLeft" align="right" valign="top"><a id="a0c358b3ea86aa09a8734a7a7a6842179" name="a0c358b3ea86aa09a8734a7a7a6842179"></a>
static float&#160;</td><td class="memItemRight" valign="bottom"><b>frequency_count_mhz</b> (uint src)</td></tr>
<tr class="separator:a0c358b3ea86aa09a8734a7a7a6842179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga614700afaa5ee6767ef2cf662e63f84c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga614700afaa5ee6767ef2cf662e63f84c">clocks_enable_resus</a> (<a class="el" href="group__hardware__clocks.html#ga60fddc9bfe13c979c8e3a777d0d89037">resus_callback_t</a> resus_callback)</td></tr>
<tr class="memdesc:ga614700afaa5ee6767ef2cf662e63f84c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the resus function. Restarts clk_sys if it is accidentally stopped.  <a href="group__hardware__clocks.html#ga614700afaa5ee6767ef2cf662e63f84c">More...</a><br /></td></tr>
<tr class="separator:ga614700afaa5ee6767ef2cf662e63f84c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0a3891d48e37432740607ed66873c6d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gab0a3891d48e37432740607ed66873c6d">clock_gpio_init_int_frac16</a> (uint gpio, uint src, uint32_t div_int, uint16_t div_frac16)</td></tr>
<tr class="memdesc:gab0a3891d48e37432740607ed66873c6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output an optionally divided clock to the specified gpio pin.  <a href="group__hardware__clocks.html#gab0a3891d48e37432740607ed66873c6d">More...</a><br /></td></tr>
<tr class="separator:gab0a3891d48e37432740607ed66873c6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga253cf9165fa398d59512536a21459560"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga253cf9165fa398d59512536a21459560">clock_gpio_init_int_frac8</a> (uint gpio, uint src, uint32_t div_int, uint8_t div_frac8)</td></tr>
<tr class="memdesc:ga253cf9165fa398d59512536a21459560"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output an optionally divided clock to the specified gpio pin.  <a href="group__hardware__clocks.html#ga253cf9165fa398d59512536a21459560">More...</a><br /></td></tr>
<tr class="separator:ga253cf9165fa398d59512536a21459560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8c2e917087ce8920db29c3a10bcef72"><td class="memItemLeft" align="right" valign="top"><a id="ab8c2e917087ce8920db29c3a10bcef72" name="ab8c2e917087ce8920db29c3a10bcef72"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>clock_gpio_init_int_frac</b> (uint gpio, uint src, uint32_t div_int, uint8_t div_frac8)</td></tr>
<tr class="separator:ab8c2e917087ce8920db29c3a10bcef72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76d69b8d84158f8c2e99ae84b82ca0a1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga76d69b8d84158f8c2e99ae84b82ca0a1">clock_gpio_init</a> (uint gpio, uint src, float div)</td></tr>
<tr class="memdesc:ga76d69b8d84158f8c2e99ae84b82ca0a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output an optionally divided clock to the specified gpio pin.  <a href="group__hardware__clocks.html#ga76d69b8d84158f8c2e99ae84b82ca0a1">More...</a><br /></td></tr>
<tr class="separator:ga76d69b8d84158f8c2e99ae84b82ca0a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae15228c0d8298d19d883a453334a4d40"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gae15228c0d8298d19d883a453334a4d40">clock_configure_gpin</a> (clock_handle_t clock, uint gpio, uint32_t src_freq, uint32_t freq)</td></tr>
<tr class="memdesc:gae15228c0d8298d19d883a453334a4d40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure a clock to come from a gpio input.  <a href="group__hardware__clocks.html#gae15228c0d8298d19d883a453334a4d40">More...</a><br /></td></tr>
<tr class="separator:gae15228c0d8298d19d883a453334a4d40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89efe34eab0b8b96954eb0e19a38c8be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga89efe34eab0b8b96954eb0e19a38c8be">set_sys_clock_48mhz</a> (void)</td></tr>
<tr class="memdesc:ga89efe34eab0b8b96954eb0e19a38c8be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise the system clock to 48MHz.  <a href="group__hardware__clocks.html#ga89efe34eab0b8b96954eb0e19a38c8be">More...</a><br /></td></tr>
<tr class="separator:ga89efe34eab0b8b96954eb0e19a38c8be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44d5e0845d4f75f3b0c97c733e39f4c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga44d5e0845d4f75f3b0c97c733e39f4c8">set_sys_clock_pll</a> (uint32_t vco_freq, uint post_div1, uint post_div2)</td></tr>
<tr class="memdesc:ga44d5e0845d4f75f3b0c97c733e39f4c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise the system clock.  <a href="group__hardware__clocks.html#ga44d5e0845d4f75f3b0c97c733e39f4c8">More...</a><br /></td></tr>
<tr class="separator:ga44d5e0845d4f75f3b0c97c733e39f4c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa509e1c42d351a21ac87a790d7c37e0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gafa509e1c42d351a21ac87a790d7c37e0">check_sys_clock_hz</a> (uint32_t freq_hz, uint *vco_freq_out, uint *post_div1_out, uint *post_div2_out)</td></tr>
<tr class="memdesc:gafa509e1c42d351a21ac87a790d7c37e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if a given system clock frequency is valid/attainable.  <a href="group__hardware__clocks.html#gafa509e1c42d351a21ac87a790d7c37e0">More...</a><br /></td></tr>
<tr class="separator:gafa509e1c42d351a21ac87a790d7c37e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8553a9d91b581e0d3dbccd8d83b1a1b9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga8553a9d91b581e0d3dbccd8d83b1a1b9">check_sys_clock_khz</a> (uint32_t freq_khz, uint *vco_freq_out, uint *post_div1_out, uint *post_div2_out)</td></tr>
<tr class="memdesc:ga8553a9d91b581e0d3dbccd8d83b1a1b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if a given system clock frequency is valid/attainable.  <a href="group__hardware__clocks.html#ga8553a9d91b581e0d3dbccd8d83b1a1b9">More...</a><br /></td></tr>
<tr class="separator:ga8553a9d91b581e0d3dbccd8d83b1a1b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga28d65a360d9c9423fe5549b216b79683"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#ga28d65a360d9c9423fe5549b216b79683">set_sys_clock_hz</a> (uint32_t freq_hz, bool required)</td></tr>
<tr class="memdesc:ga28d65a360d9c9423fe5549b216b79683"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempt to set a system clock frequency in hz.  <a href="group__hardware__clocks.html#ga28d65a360d9c9423fe5549b216b79683">More...</a><br /></td></tr>
<tr class="separator:ga28d65a360d9c9423fe5549b216b79683"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab3a273e837ba1947bb5fd8fc97cf47e5"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__clocks.html#gab3a273e837ba1947bb5fd8fc97cf47e5">set_sys_clock_khz</a> (uint32_t freq_khz, bool required)</td></tr>
<tr class="memdesc:gab3a273e837ba1947bb5fd8fc97cf47e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempt to set a system clock frequency in khz.  <a href="group__hardware__clocks.html#gab3a273e837ba1947bb5fd8fc97cf47e5">More...</a><br /></td></tr>
<tr class="separator:gab3a273e837ba1947bb5fd8fc97cf47e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>